package com.fastloan.safe.mgt.root.model.vo;

import com.kawins.supers.tree.annonation.TreeChild;
import com.kawins.supers.tree.annonation.TreeId;
import com.kawins.supers.tree.annonation.TreeParentId;

import java.util.List;

/**
 * @author rankai
 * createTime 2017-09-2017/9/29 14:43
 */
public class DefMenuTreeVo {

    @TreeId
    private String id;

    private String name;

    private String url;

    @TreeParentId
    private String parentId;

    private String menuPic;

    private Integer shorts;

    @TreeChild
    private List<DefMenuTreeVo> defMenuTreeVos;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getMenuPic() {
        return menuPic;
    }

    public void setMenuPic(String menuPic) {
        this.menuPic = menuPic;
    }

    public Integer getShorts() {
        return shorts;
    }

    public void setShorts(Integer shorts) {
        this.shorts = shorts;
    }

    public List<DefMenuTreeVo> getDefMenuTreeVos() {
        return defMenuTreeVos;
    }

    public void setDefMenuTreeVos(List<DefMenuTreeVo> defMenuTreeVos) {
        this.defMenuTreeVos = defMenuTreeVos;
    }
}
